// const BASE_RY_URL = 'http://localhost:8080'
const BASE_RY_URL = 'http://114.55.58.148:40001'  // 远程服务器
// const BASE_RY_URL = 'http://192.168.1.91:40001'  // 本地服务器
// const BASE_RY_URL = 'http://127.0.0.1:40001'  // 本地服务器
// const BASE_RY_URL = 'http://192.168.8.100:8081'  // tacom test

const middleWareApi = {
    // 登录注册
    LOGIN: BASE_RY_URL + '/login',
    REGISTER: BASE_RY_URL + '/register',
    // 历史数据
    HISTORY_INSERT: BASE_RY_URL + '/arcus/UploadRecord/insert',
    HISTORY_TOKEN_GET: BASE_RY_URL + '/arcus/UploadRecord/listToken',
    HISTORY_IMG_GET: BASE_RY_URL + '/arcus/UploadRecord/listImg',
    HISTORY_IMG_DELETE: BASE_RY_URL + '/arcus/UploadRecord/deleteImg',
    // 邮箱相关
    EMAIL_FORGET_CODE: BASE_RY_URL + '/system/email/FEmail',
    EMAIL_PASSWORD_RESET: BASE_RY_URL + "/system/email/ForgetPassword",
    // websocket相关
    VUE_SOCKET_ADDRESS: 'ws://192.168.31.208:40001/arcus/vue/monitor/websocket/1'
}

export default middleWareApi
